using System.Collections;

using LocalBoard.Domain;

namespace LocalBoard.Persistence
{
	/// <summary>
	/// Summary description for IUserRoleAccessor.
	/// </summary>
	public interface IUserRoleAccessor
	{
		UserRole Get(int id);
		Hashtable GetAllUserRoles();
		ArrayList GetRolesByProfileId(int profileId);
		int Insert(string userRoleName);
		void Update(UserRole userRole);
		void Delete(int id);
		void AddRoleToProfile(int roleId, int profileId);
		void DeleteRoleFromProfile(int roleId, int profileId);
	}
}
